﻿<%@ Page Language="VB" MasterPageFile="~/Interfaz/MasterPage.master" AutoEventWireup="false" CodeFile="frmAdminOrdenDeCompra.aspx.vb" Inherits="Interfaz_frmAdminOrdenDeCompra" title="Untitled Page" %>

<%@ Register Assembly="BasicFrame.WebControls.BasicDatePicker" Namespace="BasicFrame.WebControls"
    TagPrefix="BDP" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br />
    <center>
    <table style="width: 933px; background-color: white; border-right: lightblue thin solid; border-top: lightblue thin solid; border-left: lightblue thin solid; border-bottom: lightblue thin solid;">
        <tr>
            <td style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                width: 400px; border-bottom: blue thin solid; height: 21px; text-align: center">
            </td>
        </tr>
        <tr>
            <td style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                width: 400px; border-bottom: blue thin solid; height: 21px; text-align: center;">
                <table style="width: 933px; border-bottom: mediumblue thin double; background-color: white">
                    <tr>
                        <td style="width: 390px; text-align: left">
                            <strong>&nbsp; INGRESO ORDEN DE COMPRA</strong></td>
                    </tr>
                </table>
                <table style="width: 933px">
                    <tr>
                        <td style="width: 224px; height: 24px; text-align: right;">
                            Seleccione Numero de Requisicion :</td>
                        <td style="width: 60px; height: 24px; text-align: left;">
                            <asp:DropDownList ID="DropReq" runat="server" Width="208px">
                            </asp:DropDownList></td>
                        <td style="width: 16px; height: 24px;">
                            <asp:Button ID="BtnSeleccion" runat="server" Text="Seleccionar" /></td>
                    </tr>
                    <tr>
                        <td style="width: 224px; height: 24px; text-align: right">
                            Proveedor:</td>
                        <td style="width: 60px; height: 24px; text-align: left">
                            <asp:DropDownList ID="DropProveedor" runat="server" Width="208px">
                            </asp:DropDownList></td>
                        <td style="width: 16px; height: 24px">
                            <asp:Button ID="BtnSelectProv" runat="server" Text="Seleccionar" /></td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                width: 400px; border-bottom: blue thin solid; height: 21px; text-align: center">
                <table style="width: 933px">
                    <tr>
                        <td style="width: 173px; height: 27px; text-align: left">
                            Atencion Sr(a)</td>
                        <td style="width: 200px; height: 27px; text-align: left">
                            <asp:TextBox ID="TxtAtencion" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 16px; height: 27px">
                        </td>
                        <td style="width: 156px; height: 27px; text-align: left">
                            Fecha :</td>
                        <td style="height: 27px; text-align: left; width: 209px;">
                            <BDP:BasicDatePicker ID="BasicDatePicker1" runat="server" DateFormat="dd-MMM-yyyy">
                            </BDP:BasicDatePicker>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 173px; height: 26px; text-align: left;">
                            Condiciones de Pago :</td>
                        <td style="width: 200px; text-align: left; height: 26px;">
                            <asp:TextBox ID="TxtCondVenta" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 16px; height: 26px;">
                        </td>
                        <td style="width: 156px; text-align: left; height: 26px;">
                            Comprador :</td>
                        <td style="text-align: left; height: 26px; width: 209px;">
                            <asp:TextBox ID="TxtComprador" runat="server" Width="176px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 173px; height: 17px; text-align: left">
                            Despachar a &nbsp;:</td>
                        <td style="width: 200px; height: 17px; text-align: left">
                            <asp:TextBox ID="TxtDespacho" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 16px; height: 17px">
                        </td>
                        <td style="width: 156px; height: 17px; text-align: left">
                            Notas :</td>
                        <td style="height: 17px; text-align: left; width: 209px;">
                            <asp:TextBox ID="TxtNotas" runat="server" Width="176px"></asp:TextBox></td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                width: 933px; border-bottom: blue thin solid; height: 21px; text-align: center">
                <asp:GridView ID="GridOrdenCompra" runat="server" AutoGenerateColumns="False" AutoGenerateDeleteButton="True"
                    AutoGenerateEditButton="True" CellPadding="4" ForeColor="#333333" GridLines="None"
                    OnRowCancelingEdit="GridOrdenCompra_RowCancelingEdit" OnRowDeleting="GridOrdenCompra_RowDeleting"
                    OnRowEditing="GridOrdenCompra_RowEditing" OnRowUpdating="GridOrdenCompra_RowUpdating"
                    Width="760px">
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:BoundField DataField="ITEM" HeaderText="Item">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="UNIDAD" HeaderText="Unidad">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DETALLE" HeaderText="Detalle">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CANTIDAD" HeaderText="Cantidad">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="PRECIOUNITARIO" HeaderText="Precio Unitario">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CODMATERIAL" HeaderText="Codigo Material" />
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:CheckBox ID="itemSelector" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                width: 933px; border-bottom: blue thin solid; height: 21px; text-align: center">
                <table style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                    width: 933px; border-bottom: blue thin solid; position: static">
                    <tr>
                        <td style="height: 26px; text-align: center;">
                            <asp:Button ID="Button3" runat="server" Text="Limpiar" /></td>
                        <td style="height: 26px; text-align: center;">
                            <asp:Button ID="BtnValidar" runat="server" Text="Validar" /></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </center>
</asp:Content>

